package com.biostime.dingdingbox.modules.db.entity;

import com.biostime.dingdingbox.common.persistence.DataEntity;

/**
 * 视频记录表Entity
 * @author chenweicheng
 * @version 2016-07-01
 */
public class VideoRecord extends DataEntity<VideoRecord> {

	private static final long serialVersionUID = 1L;
	
	private int memberId;// 会员主键编号
	private int videoId;// 视频主键编号
	private String startTime;// 开始时间
	private String endTime;// 结束时间
	private Video video;//视频
	private Member member;//会员
	public int getMemberId() {
		return memberId;
	}
	public void setMemberId(int memberId) {
		this.memberId = memberId;
	}
	public int getVideoId() {
		return videoId;
	}
	public void setVideoId(int videoId) {
		this.videoId = videoId;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public VideoRecord(){
		super();
	}
	public VideoRecord(String id){
		super(id);
	}
	public Video getVideo() {
		return video;
	}
	public void setVideo(Video video) {
		this.video = video;
	}
	public Member getMember() {
		return member;
	}
	public void setMember(Member member) {
		this.member = member;
	}	
	
}